微信支付明细单号查询明细单(合作伙伴模式)
服务商可以通过该接口查询单笔转账明细单。 官方文档 官方文档
js
wxpay.v3.partnerTransfer.batches.batchId._batch_id_.details.detailId._detail_id_.get({
batch_id,
detail_id,
})
.then(
({
data: {
sp_mchid,
out_batch_no,
batch_id,
appid,
out_detail_no,
detail_id,
detail_status,
transfer_amount,
transfer_remark,
fail_reason,
openid,
username,
initiate_time,
update_time,
account_type,
bank_name,
bank_card_number_tail,
},
}) => ({
sp_mchid,
out_batch_no,
batch_id,
appid,
out_detail_no,
detail_id,
detail_status,
transfer_amount,
transfer_remark,
fail_reason,
openid,
username,
initiate_time,
update_time,
account_type,
bank_name,
bank_card_number_tail,
})
)